name: tests_tapi run_id: commands[0] env HOME: /home/jenkins env INSTALL_TAPI: **** env LANG: C.UTF-8 env OLM_TIMER1: 3000 env OLM_TIMER2: 2000 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/bin:/opt/pyenv/bin:/tmp/venv-rwmM/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PIP_USER: 0 env PYTHONHASHSEED: 3078827060 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi env TOX_ENV_NAME: tests_tapi env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env USE_ODL_ALT_KARAF_ENV: ./karaf221.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf221 env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 7671 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/bin/*:launch_tests.sh cmd: ./launch_tests.sh tapi exit_code: 1 using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py ................................................... [100%] 51 passed in 319.79s (0:05:19) pytest -q transportpce_tests/tapi/test02_full_topology.py .................................... [100%] 36 passed in 350.52s (0:05:50) pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py .................F......F......F.............F......................... [100%] =================================== FAILURES =================================== __ TestTransportPCEDeviceChangeNotifications.test_18_check_update_tapi_links ___ self = def test_18_check_update_tapi_links(self): self.tapi_topo["topology-id"] = test_utils.T0_FULL_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) time.sleep(2) self.assertEqual(response['status_code'], requests.codes.ok) link_list = response['output']['topology']['link'] nb_updated_link = 0 for link in link_list: > if all(x in link['name'][1]['value'] for x in ['XPDR-C1-XPDR1', 'XPDR1-NETWORK1']): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .0 = > if all(x in link['name'][1]['value'] for x in ['XPDR-C1-XPDR1', 'XPDR1-NETWORK1']): ^^^^^^^^^^^^^^^ E IndexError: list index out of range transportpce_tests/tapi/test03_tapi_device_change_notifications.py:416: IndexError ----------------------------- Captured stdout call ----------------------------- execution of test_18_check_update_tapi_links _ TestTransportPCEDeviceChangeNotifications.test_25_check_update_tapi_links_ok _ self = def test_25_check_update_tapi_links_ok(self): self.tapi_topo["topology-id"] = test_utils.T0_FULL_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) time.sleep(2) link_list = response['output']['topology']['link'] for link in link_list: > self.assertEqual(link['operational-state'], 'ENABLED') ^^^^^^^^^^^^^^^^^^^^^^^^^ E KeyError: 'operational-state' transportpce_tests/tapi/test03_tapi_device_change_notifications.py:506: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_25_check_update_tapi_links_ok __ TestTransportPCEDeviceChangeNotifications.test_32_check_update_tapi_links ___ self = def test_32_check_update_tapi_links(self): self.tapi_topo["topology-id"] = test_utils.T0_FULL_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) time.sleep(2) link_list = response['output']['topology']['link'] nb_updated_link = 0 for link in link_list: > if all(x in link['name'][1]['value'] for x in ['ROADM-A1', 'SRG1-PP1-TXRX']): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:617: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .0 = > if all(x in link['name'][1]['value'] for x in ['ROADM-A1', 'SRG1-PP1-TXRX']): ^^^^^^^^^^^^^^^ E IndexError: list index out of range transportpce_tests/tapi/test03_tapi_device_change_notifications.py:617: IndexError ----------------------------- Captured stdout call ----------------------------- execution of test_32_check_update_tapi_links __ TestTransportPCEDeviceChangeNotifications.test_46_check_update_tapi_links ___ self = def test_46_check_update_tapi_links(self): self.tapi_topo["topology-id"] = test_utils.T0_FULL_MULTILAYER_TOPO_UUID time.sleep(5) response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) self.assertEqual(response['status_code'], requests.codes.ok) link_list = response['output']['topology']['link'] nb_updated_link = 0 for link in link_list: > if all(x in link['name'][1]['value'] for x in ['ROADM-A1', 'DEG2-TTP-TXRX']): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ transportpce_tests/tapi/test03_tapi_device_change_notifications.py:784: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .0 = > if all(x in link['name'][1]['value'] for x in ['ROADM-A1', 'DEG2-TTP-TXRX']): ^^^^^^^^^^^^^^^ E IndexError: list index out of range transportpce_tests/tapi/test03_tapi_device_change_notifications.py:784: IndexError ----------------------------- Captured stdout call ----------------------------- execution of test_46_check_update_tapi_links =========================== short test summary info ============================ FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_18_check_update_tapi_links FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_25_check_update_tapi_links_ok FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_32_check_update_tapi_links FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_46_check_update_tapi_links 4 failed, 67 passed in 517.83s (0:08:37)